package styx.lex;

public final class GameData {
	
	class GameConfig
	{
		
	}
	
	
	private GameConfig _config;
	
	private GameData() {
		_config = new GameConfig();
		
		
	}
	
	public GameConfig getConfig()
	{
		return _config;
	}
	
	
	// singleton ..
	private volatile static GameData _instance = null;
	public static GameData getInstance()
	{
		if (_instance == null) {
			synchronized (GameData.class) { 			
				if (_instance == null) {
					_instance = new GameData();
				}
			}
		}
		return _instance;
	}

}
